<?php
/*
if (empty ( $this->session->userdata ["id"] ) || empty($this->session->userdata['isadmin'])) {
	if (isset ( $_GET ['err'] )) {
		header ( "Location:login.php?err='notexists'" );
	} else {
		header ( "Location:login.php" );
	}
}
*/
?>

<?php 
include 'header.php';
?>

<?php
if(empty($this->session->userdata['id']) || empty($this->session->userdata['isadmin'])){
	include 'adminlogin.php';
}else{
	include 'logined.php';
} 

?>